package dict;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class BmDict {
	
	//错误类型
	public static final Map<String, String> MESSAGES = Collections.synchronizedMap(new HashMap<String, String>());
	
	public final static String BM_SUCCESS= "0000";
	public final static String BM_FAILURE= "9999";
	
	public final static String BM_NOT_EXIST= "BM01";
	public final static String BM_FETCH_EXCEPTION= "BM02";
	public final static String BM_STATUS_EXCEPTION= "BM03";
	public final static String BM_PERSIST_EXCEPTION= "BM04";
	public final static String BM_PROCESS_EXCEPTION= "BM05";
	public final static String BM_ALREADY_EXIST= "BM06";
	public final static String BM_REMOVE_EXCEPTION= "BM07";
	public final static String BM_CSTATUS_EXCEPTION= "BM08";
	

	static {
		MESSAGES.put(BM_SUCCESS, "Successful");
		MESSAGES.put(BM_FAILURE, "Failure");
		
		MESSAGES.put(BM_NOT_EXIST, "bm not exist");
		MESSAGES.put(BM_FETCH_EXCEPTION, "bm fetch exception");
		MESSAGES.put(BM_STATUS_EXCEPTION, "bm status exception");
		MESSAGES.put(BM_PERSIST_EXCEPTION, "bm persist exception");
		MESSAGES.put(BM_PROCESS_EXCEPTION, "bm process exception");
		MESSAGES.put(BM_ALREADY_EXIST, "bm already exist");
		MESSAGES.put(BM_REMOVE_EXCEPTION, "bm remove exception");
		MESSAGES.put(BM_CSTATUS_EXCEPTION, "bm audit status exception");
		
	}


}
